package com.tz.liveplayermodule.bean;

import java.util.ArrayList;
import java.util.List;

public class PlayBackSlice {

    /**
     * code : 200
     * result : {"list":[{"id":"1244","is_free":"0","url":"http://video2.xiaozo.cn/6c641cb450e644f2a9207df82849be0c/8c3053baa888d094633b7a94068a1364-fd.mp4","title":"强化记忆课-设施1 （上）","duration":"01:01:17"},{"id":"1246","is_free":"0","url":"http://video2.xiaozo.cn/3d15b3dddbda4d498ec996321fd5586b/1b8cd7ed489d44dcf3aeefd8fdf933fb-fd.mp4","title":"强化记忆课-设施1 （下）","duration":"01:00:25"},{"id":"1249","is_free":"0","url":"http://video2.xiaozo.cn/52748bb6a57c477c974e5fda0aacc2ea/7f1e3bcce508107cb7647b72e77f741e-fd.mp4","title":"强化记忆课-设施1 （下）","duration":"44:24"}],"empty":0}
     * msg : 获取数据成功
     */

    private String code;
    private ResultBean result;
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * list : [{"id":"1244","is_free":"0","url":"http://video2.xiaozo.cn/6c641cb450e644f2a9207df82849be0c/8c3053baa888d094633b7a94068a1364-fd.mp4","title":"强化记忆课-设施1 （上）","duration":"01:01:17"},{"id":"1246","is_free":"0","url":"http://video2.xiaozo.cn/3d15b3dddbda4d498ec996321fd5586b/1b8cd7ed489d44dcf3aeefd8fdf933fb-fd.mp4","title":"强化记忆课-设施1 （下）","duration":"01:00:25"},{"id":"1249","is_free":"0","url":"http://video2.xiaozo.cn/52748bb6a57c477c974e5fda0aacc2ea/7f1e3bcce508107cb7647b72e77f741e-fd.mp4","title":"强化记忆课-设施1 （下）","duration":"44:24"}]
         * empty : 0
         */

        private int empty;
        private List<PlayBackListBean> list;

        public int getEmpty() {
            return empty;
        }

        public void setEmpty(int empty) {
            this.empty = empty;
        }

        public List<PlayBackListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<PlayBackListBean> list) {
            this.list = list;
        }
    }
}
